package org.wii.base.user;

import lombok.Data;

import java.io.Serializable;

/**
 * 用户信息
 * @author tanghong on 2022/12/23
 */
@Data
public class UserBaseInfo implements Serializable {
    /**用户ID*/
    protected String userId;
    /**客户端类型*/
    protected String clientType;
    /**小程序类型*/
    protected String miniApp;
    /**用户名称*/
    protected String userName;

    public static UserBaseInfo build(String userId, String userName){
        UserBaseInfo baseInfo = new UserBaseInfo();
        baseInfo.setUserId(userId);
        baseInfo.setUserName(userName);
        return baseInfo;
    }
}
